(function(ZBJInfo) {

  /**
   * seajs base
   */
  seajs.data.base = '';
  
  seajs.on("resolve", function (emitData) {
        var modId = emitData.id,
            host = ZBJInfo.staticLibURI,
            match, uri;

        var seajsMap = seajs.data.map;
        for (var i = 0; i < seajsMap.length; i++) {
            if (seajsMap[i][0] === modId) {
                uri = seajsMap[i][1].replace(/^\/\/as\.zbjimg\.com/, ZBJInfo.staticLibURI);
                break;
            }
        }

        if (uri) {
            emitData.uri = uri;
        }
    }
);


})(window.ZBJInfo);